<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>X支付 - 后台管理 - 商户提现设置</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="__ADMIN__/layui/css/layui.css" media="all">
</head>
<body>

<div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">UID：</label>
        <div class="layui-input-block">
            <input type="text" disabled name="uid" autocomplete="off" class="layui-input" value="{$user.uid|default=''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">商户名称：</label>
        <div class="layui-input-block">
            <input type="text" disabled name="username" placeholder="请输入商户名称" autocomplete="off" class="layui-input" value="{$user.username|default=''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">提现渠道：</label>
        <div class="layui-input-block">
            <select name="cash_channel">
                <option value="">请选择提现渠道</option>
                {volist name="channels" id="vo"}
                <option {$user.cash_channel == $vo.id ? 'selected' : ''} value="{$vo.id}" >{$vo.name}</option>
                {/volist}
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">提现审核：</label>
        <div class="layui-input-block">
            <input type="radio" name="cash_approve" value="1" title="是" {$user.cash_approve|default='1' == 1?'checked':''}>
            <input type="radio" name="cash_approve" value="0" title="否" {$user.cash_approve|default='0' == 0?'checked':''}>
        </div>
    </div>
    <!-- <div class="layui-form-item">
        <label class="layui-form-label">提现密码：</label>
        <div class="layui-input-block">
            <input type="checkbox" name="cash_password" value="1" title="重置">
        </div>
    </div>-->
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="app-user-cash-submit" id="app-user-cash-submit" value="确认">
    </div>
</div>

<script src="__ADMIN__/layui/layui.js"></script>
<script>
    layui.config({
        base: '__ADMIN__/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form', 'upload'], function(){
        var $ = layui.$
            ,form = layui.form
            ,upload = layui.upload ;
    });
</script>
</body>
</html>